Skip to content

Update Sulu Redirect Bundle recipe for 3.0 release - #1983

Merged
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
alexander-schranz:feature/sulu-redirect-bundle-3-0
Jun 1, 2026
Merged

Update Sulu Redirect Bundle recipe for 3.0 release#1983
symfony-recipes-bot merged 1 commit into
symfony:mainfrom
alexander-schranz:feature/sulu-redirect-bundle-3-0

Conversation

@alexander-schranz

@alexander-schranz alexander-schranz commented May 20, 2026

Copy link
Copy Markdown
Contributor

@symfony-recipes-bot
symfony-recipes-bot enabled auto-merge (squash) May 20, 2026 15:44
@symfony-recipes-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1983/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1983/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'sulu/redirect-bundle:^3.0'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

sulu/redirect-bundle

2.0 vs 3.0
diff --git a/sulu/redirect-bundle/2.0/config/routes/sulu_redirect_admin.yaml b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml
index f5629463..26da3be6 100644
--- a/sulu/redirect-bundle/2.0/config/routes/sulu_redirect_admin.yaml
+++ b/sulu/redirect-bundle/3.0/config/routes/sulu_redirect_admin.yaml
@@ -1,7 +1,3 @@
 sulu_redirect_api:
-    resource: "@SuluRedirectBundle/Resources/config/routing_api.yml"
+    resource: "@SuluRedirectBundle/Resources/config/routing_api.yaml"
     prefix: /admin/api
-
-sulu_redirect:
-    resource: "@SuluRedirectBundle/Resources/config/routing.yml"
-    prefix: /admin/redirects
diff --git a/sulu/redirect-bundle/2.0/post-install.txt b/sulu/redirect-bundle/3.0/post-install.txt
index cf938b78..0d052af6 100644
--- a/sulu/redirect-bundle/2.0/post-install.txt
+++ b/sulu/redirect-bundle/3.0/post-install.txt
@@ -3,4 +3,4 @@
     2. If the statements look fine to you, run the same command using --force to execute them.
     3. Make sure your user has all the necessary permissions for the SuluRedirectBundle.
 
-  * Read the documentation at https://github.com/sulu/SuluRedirectBundle/blob/2.x/Resources/doc/README.md
+  * Read the documentation at https://github.com/sulu/SuluRedirectBundle/blob/3.0/Resources/doc/README.md

@symfony-recipes-bot
symfony-recipes-bot merged commit 378c7a1 into symfony:main Jun 1, 2026
2 of 4 checks passed
@alexander-schranz
alexander-schranz deleted the feature/sulu-redirect-bundle-3-0 branch June 1, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants